package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PmsSkuStock implements Serializable {
    private Long id;
    private Long productId;
    private String skuCode;//sku编码
    private BigDecimal price;
    private Integer stock;//库存
    private Integer lowStock;//预警库存
    private String pic;//展示图片
    private Integer sale;//销量
    private BigDecimal promotionPrice;//单品促销价格
    private Integer lockStock;//锁定库存
    private String spData;//商品销售属性，json格
}
